If a check is remotely deposited and returned for any reason we mail the IRD out to the customer (they may not have kept the original and would need the IRD to deposit if the return was NSF, uncollected, etc or to pursue legal action against the maker.
On the reverse side, we use a duplicate detection program. If a customer redeposits an original check when they were sent an IRD we reject it and notify them they must deposit the IRD.