Fixed userData pointer not cloned when cloning a node.
Merge pull request #845 from WolfgangD/next

Fixed userData pointer not cloned when cloning a node.