Fct to create clean environment whose parent is a snapshot of the global environment at a previous time.