You can now Link Parents in the "Link/Transfer Data" menu (Ctrl+L or Viewport > Object > Link/Transfer Data). It allow you to copy the active object's parent and it's transformation matrix. It supports object, bone and vertex parenting.

This addon also finally exposes the obscure Matrix Parent Inverse under the Object's "Relations" property panel. This property is now editable through comprehensive transformation properties. Thanks to Pullusb, you can now also copy/paste the matrix between objects. This also works between objects in different blend files.

Finally, it allows you to copy-paste "Child of" bone constraint's inverse matrix from one bone to another. Thanks to Pullusb.

You can report any bug or file a feature request here: https://github.com/Trukasss/LinkParents/issues
Happy Blending!
fixed: error message "missing context.object" when context not available, now using direct "self.id_data" reference.
This extension does not require special permissions.