refactor clipboard a little bit #167
refactor clipboard a little bit #167

* cloneObject helper function
* don’t need makeNewId outside of this scope
* cloning the whole node/edge makes copy a little more future-proof

djdeath/the-graph,mcanthony/the-graph,mateioprea/the-graph,yousefmoazzam/the-graph,yousefmoazzam/the-graph,townxelliot/the-graph,djdeath/the-graph,kelegorm/the-graph,townxelliot/the-graph,oportocala/the-graph,mcanthony/the-graph,BassgLLC/the-graph,mateioprea/the-graph,XurxoCid/the-graph,kelegorm/the-graph,BassgLLC/the-graph,the-grid/the-graph,the-grid/the-graph,lxfschr/the-graph,lxfschr/the-graph,XurxoCid/the-graph,oportocala/the-graph