In case identical keywords are generated for multiple products, there are three ways to handle this. You can keep the duplicate keywords (i.e. do nothing), assign them to one product only, or delete them.
If you choose the strategy of assigning the keyword to one product only, it will be assigned to the cheapest of the products in question. Should the products cost the same, the keyword will be assigned to the product with the lowest product_ID.