Merging of duplicated contacts can be managed in the Web Portal and cannot be undone. This feature is not available in the App.
To access the Merge tool, Web Portal > Contacts > Select the contacts that you would like to merge > Merge in the pop up
Follow the on screen actions to proceed.