fork

abstract suspend fun fork(): Chain<T>(source)

Create a copy of current chain state. Consuming resulting chain does not affect initial chain.