cloneIfNeeded

open override fun cloneIfNeeded(destination: Node<T>, reaction: NodeReaction<T>): FollowTargetOnMap<T>

Clones this strategy, if needed, for the destination node and its reaction. Returns a copy of the strategy if the strategy is stateful, and this object otherwise: the default implementation assumes a stateless strategy.