Fixed userData pointer not cloned when cloning a node.