there is no out of box function to merge items. If you create duplicate items and each item has transactions with it, the best way is to consume one item by sales, consumption etc, then block that item. You could also adjust out the item you don't need, but be careful not to mess up the costing.
If you need, set up stricter permission who are allowed to create new items to avoid issue going forward.