MementoContainer is an alternative approach to the Memento design pattern.
It is a lightweight utility that takes a snapshot of your objects' state so that you can easily rollback to a previous state when recovering from errors.
Given a populated object model at runtime, outputs the C# code to recreate the model independently.
Able to handle circular references and list initialisations.
Particularly useful for snapshotting WPF ViewModels for use in the WPF designer.