extending build_clone functionality to include more edition types