title: How to clone object in Kotlin?
body: <p>The <a href="https://kotlinlang.org/docs/reference/java-interop.html#clone" rel="noreferrer">Kotlin documentation</a> describes cloning only in accessing Java and in enum class. In latter case clone is just throwing an exception.</p>
  <p>So, how would I / should I clone arbitrary Kotlin object?</p>
  <p>Should I just use <code>clone()</code> as in Java?</p>