2.4 Prototype

The prototype pattern is a way to implement object cloning. Using the prototype pattern, we are able to create new instances of a class simply by creating a point-in-time copy, or clone, of an existing instance of that class.