kotlin-stdlib / kotlin / Enum / clone clone Common JVM JS Native 1.0 protected fun clone(): Any Throws an exception since enum constants cannot be cloned. This method prevents enum classes from inheriting from Cloneable.