title: Clone method behavior at memory level - java
body: <p>when i am creating new object of Particular class using new keyword it occupies some memory in heap 
  For example i have class <code>Xyz</code> and i am creating object of <code>Xyz</code> using new keyword and it occupies some 
  memory in heap </p>
  
  <pre><code>Xyz xyz = new Xyz();
  </code></pre>
  
  <p>now assume that <code>xyz</code> have memory location <code>12@FFD</code></p>
  
  <p>same object create using clone method</p>
  
  <pre><code>Xyz xyzClone =(Xyz) super.clone()
  </code></pre>
  
  <p>my question is if <code>xyzClone</code> occupies different memory in heap than <code>xyz</code> than why we need clone method
  we can achieve same behavior using new keyword ??? and if <code>xyzClone</code> occupies no extra memory than it may 
  be behave like Singleton </p>
  
  <p>Please clear my confusion why we need clone method ??? </p>