Available in LEADTOOLS Barcode Modules.
Barcode Function Functions: Finding Duplicated BarCodes
LBarCode::IsDuplicated()
LBarCode::GetDuplicatedCount()
LBarCode::GetFirstDuplicated()
LBarCode::GetNextDuplicated()