Removes all instances of object from array and returns the new array.
object
array
cbjs.arrayContains(array, object)