A safer version of the dup method that avoids unnecessary exceptions.
Peter Camilleri
on May 15, 2016
MIT