StockItem equals method