snapshot

Makes an atomic copy of the state.