Add `equals()` comparison method