Who invented the safety pin?

Walter Hunt