Makes a copy of an object, including all attributes. If connect is false, does not put Proc.mainIn.
connect
Proc.mainIn
Does not produce any undoable edits.
the process to copy