https://mamchenkov.net/wordpress/2004/12/27/undup/
undup