component/model — pull request #39 by ianstormtaylor (2013-06-04 02:43:46+00:00)
Title: changed #toJSON to return a copy

`toJSON` is often used before passing the attrs to another party, and you don't want them accidentally editing them out from under your models