Override this method when moment class instances are not identical if they have different attributes.