While creating lead capture forms, you can now choose to auto-assign leads based on duplication:

Once enabled, the system will check if the newly generated lead is a duplicate of an existing lead (based on your custom criteria) in the same pipeline.
If yes, the newly generated lead will also be auto-assigned to the same assignee.
Try this today to save time and maintain a clean database!