I just wanted to create a new TemplateVM/Standalone as well, but I got “Error: type error qubesbase.clone_vm () takes 3 positional arguments but 4 were given”.
How can I fix this error?
All updates have been installed, so this is certainly not the problem.
This has been fixed last year: Creation of a new StandaloneVM/TemplateVM fails during the cloning process · Issue #9574 · QubesOS/qubes-issues · GitHub, start by simply installing updates normally (either via GUI updater - you have it in the menu and in the tray icon area too, or via sudo qubes-dom0-update command, without extra arguments).
If that doesn’t help, tell exactly what version of qubes-core-admin-linux and qubes-desktop-linux-manager packages do you have - you can check with rpm -q qubes-core-admin-linux qubes-desktop-linux-manger command in dom0.