copy

open override fun copy(): AIAgent.Companion.State<Output>(source)

Creates and returns a copy of the current state object.

Return

A new instance of State<Output> that is a copy of the current object.