Fixed a notice when cloning nodes.