For your TODO `if there were nodetrees, duplicate them here`: the code could look like this: ```python if self._scene.node_tree: self._scene.node_tree = self._scene.node_tree.copy() ``` but I haven't tested.