src code

instance method Spah.State#clone

Spah.State#clone() → Spah.State

Creates a new, deep clone of this State, the value of which may be freely modified without embuggering the original.

However, this new state will share a set of reducer and expander rules with the original.