cleanupDuplicateArgs: add a list of exempted templates