Add option to disable duplicate row checking.