deep cloning nodes does not set parentNode of new child nodes