Added example of custom duplicatedetection