Replication is a very different thing than duplication, so I had to ask.
Can you explain the scenario a bit further, what data are you trying to detect duplicates of?
The best situation is to avoid duplication by putting keys on columns. That might not be what you're after though
You can write some queries though that will detect multiples of something in a table.
Something like:
select dupfield, count(dupfield)
from duptable
group by dupfield
having count(dupfield) > 1