add customize `isEqual()` method