Add #dup with a block to modify