Detect duplicate item addition