dup and set the default proc to nil rather than looping through everything