clone

open override fun clone(context: ClassicExecutionContext = this.context): StateException

Returns a copy of this state, replacing context with the given one (defaulting to the current context).