allow for copying of nodes between documents
Merge branch 'master' into go1