Let's say I am drawing with CCDrawNode and then saving the drawing as a sprite and then I clear the CCDrawNode so I can create more drawings from scratch. I'd like now before I clear the CCDrawNode to save it as a property of a class ModelNode so I can reuse the CCDrawNode later on when trying to create copies of the drawing. Now by doing
CCDrawNode savedDrawNode = oldDrawNode
I realized that it is just saving the reference of the original CCDrawNode (so when I clear the original CCDrawNode the saved CCDrawNode is also cleared). I'd like to save a complete copy of the original CCDrawNode is that possible? If yes how?