Simplyfing model copy constructor and adding an example in MainPrimitives.