protected fun clone(): Any
Throws an exception since enum constants cannot be cloned. This method prevents enum classes from inheriting from Cloneable
.
© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/clone.html