Animate/switch between a childs Parent peg

I feel like this should be something easy to implement as the constraint nodes get close to what I’m after here-

It would be great to have a node that could sit above a peg in the hierarchy that had multiple peg inputs, and allowed you to switch/animate the child’s allegiance between parents. This would be amazing for props, and cut down on the amount of duplicates in any given scene.