clone

protected fun clone(): Any(source)

Throws an exception since enum constants cannot be cloned. This method prevents enum classes from inheriting from Cloneable.

Since Kotlin

1.0