I made a script that seems to be able to clone wordpress sites on cpanel based servers pretty well. More work needs to be done, like it won’t work for various plugins like caching ones, but it does copy the site files, clone the database and replaces the site name in the database.
chmod +x wp-clone.sh
Then after you run it follow the prompts on the screen. You can also run “./wp-cloner.sh –help” and it will give you some more details on how to speed up the process as well. Let me know if you have any issues!