This could be something like `++ (if (sourceSettings.skipDuplicateFiles) List("--skip-duplicate-files") else List())` to keep the list immutable.