changed dup to clone for Folder#fold