clone

open override fun clone(): Any

Create a copy of this iterator

In Java this is typically implemented via Object.clone(). In Kotlin common we can't rely on platform cloning, so subclasses must provide the actual cloning logic.

Return

A copy of this