Another way to say "A safely pin is a very useful invention" is " A safety pin is a useful device."