The latest version (23.4.12) shows yellow notice when there is a duplicate.

When you click the notice, the list is filtered so the first duplicates are shown. Duplicates are identified either by reference numbers (in case of transactions) or codes (in case of customers, suppliers, employees, items etc.)