Clones the registry object rather than sharing references.

This better mimics the semantics of a real world storage (as suggested by @njx).
Merge pull request #15 from adobe/dangoor/ram-clone

Clones the registry object rather than sharing references.