Definition
The Prototype Design Pattern is a creational pattern that allows you to create new objects by copying an existing object, known as the prototype.
The copy could be shallow or deep, depending on our requirements.
Motivation
Let’s consider a...