component/model — pull request #62 by juliangruber (2014-05-12 15:48:27+00:00)
Title: fix toJSON() copy

I expect `.toJSON()` to return a copy, so I can mess with data without changing the real model.

We might use a more efficient cloning algorithm, I'm not sure where this method is used.