Fix error with shared state between models.
A bug was causing shared copiesById
state between all of the models, so cloning a model would cause it to receive properties from another model. This release assures that each Model class has its own copiesById
property. In the TypeScript definition, the copiesById
attribute on the BaseModel
is now an abstract property, so it has to be defined on TypeScript classes.