edureka! interview question

How to make a duplicate object?