Administrator can set the organization wide preferences for lead routing and data management on the preference tab.
1.Duplicate Lead Management
Select this option to merge duplicate leads found during routing. you must select an option to keep either the old or new record as master lead record.