How to clone object in Kotlin? : <p>The question is that simple. </p>

<p>Kotlin documentation <a href="https://kotlinlang.org/docs/reference/?q=clone&amp;p=0" rel="noreferrer">describes cloning only in accessing Java and in enum class</a>. 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>
