Model: Clone

Made the clone method on the model to use when we calculate the tree.
Merge remote-tracking branch 'origin/model'