Copy extensions from state

Are there any ways to copy extensions from one state to another, especially with facet values in tact?

Could you say a bit more about what your goal is? There’s not currently a way to get the extensions out of a state, since usually it is preferable to just run the same code that originally created the extensions again.

Noting that I was able to solve my needs by using Compartment.get. If I know the Compartments that I want to reference values from or copy to a new state, I can pull the current value based on a state and add that to a new state.