added argument to allow renaming when cloning