Duplicate guest accounts


Does anyone know how to prevent (or more likely merge) duplicate quest accounts based on the same email address, after a customer places an order without registering and does this over time?

We don’t want to disable the option for the customer to place an order without registration. But multiple guest account of the same customer would pollute our database.

Hopefully someone else encountered the same problem and found a solution. Many thnx!