Clear all locals in the current context.
Convert a closure () => R
into another closure of the same
type whose Local context is saved when calling closed
and restored upon invocation.
Execute a block with the given Locals, restoring current values upon completion.
Execute a block with all Locals clear, restoring current values upon completion.
Restore the Local state to a given Context of values.
Return a snapshot of the current Local state.