title: How can I duplicate an object to another object, without changing the base object in Kotlin?
body: <p>this is my code:</p>
  
  <pre><code>var header1: Record? = null
  var header2: Record? = null
  
  header2 = header1
  header2.name = "new_name"
  </code></pre>
  
  <p>but <code>header1.name</code> changes too!</p>