Added mergeOnAdd option. Added merge function to models.
Don't modify passed models array when passed to add.