Implement equals() and hashCode() for DoubleChestInventory