Moved arrayEquals off of the prototype, see #253