I was going through the Prototype design pattern and had some questions.
I have understood the Prototype design pattern is used for the creation of objects that are costly in terms of memory or resources. In that case we use a clone of the object which is already available.
So what is the difference between creating a new object and clone()? Where is the object stored in memory?