nitc :: ANode :: replace_clone
self
# Create a new clone of `self` fun replace_clone do var self_clone = self.clone replace_with(self.clone) self_clone.location = location #Call the `validate` method to set correctly the parents and the location self_clone.validate end