Add a new local environment scope to the stack, returns the modified variant (shares the original stack, no deep-clone).
popLocalEnvironment - to remove the local scope again
Add a new local environment scope to the stack, returns the modified variant (shares the original stack, no deep-clone).