adapt equals() for Item merging