Determine whether an object is equal to another object. The default behavior for this method is to determine whether they are identical.