Create composite under selected nodes

If I select 10 nodes and click control+H, it would be nice for the composite to be created with the selected layers connected to it, instead of creating the composite and then manually connect them to the composite.

This feature could have two options: 1) to create the composite keeping existing connections to other composite or 2) to disconnect existing connections keeping only the ones to the new composite.