Groups and bins disconnect on layer duplication

Issue: When duplicating a layer, groups disconnect from their parent in the nodegraph.

Repro Steps:

* Connect group/bin to a parent node
* Duplicate layer
* Connection will be disconnected

Hey there,

That’s an interesting find, it looks like the issue is specifically when nodes are connected to the bins input/output connections - I didnt see it with parent connections.

That said, we’re looking closely at this workflow in the next release, so this kind of issue will be solved indirectly there.