ContactMerge+ Contacts Cleaner is free to download and use, and some optional extras cost money (Pro one-time unlock: US $6.99; no subscr).
Download price from the App Store (US); how it charges, from its maker. Prices can differ by country.