Fix object cloning.
Add more examples.