Last year and a half educated us that WordPress security shouldn't be taken lightly by any means. Between 15% and 20% of the planet's high traffic websites are powered by WordPress. The fact that it is an Open Source platform and everyone has access to its Source Code makes it a tempting prey for hackers.
Cloning your site is just another degree in fix hacked wordpress database that may be useful. Cloning simply means that you have backed up your site to a completely different location, (offline, as in a folder, in order not to have SEO issues ) where you can access it in a moment's notice if the need arises.
An easy way is to use a few tools. To begin with, do not allow people run a web host security scan, to list the documents in your folders and automatically backup your web hosting account.
There's a section of config-sample.php that's headed"Authentication Unique Keys." There are four definitions which appear within the block. There's a hyperlink within that section of code. You need to enter that link into your browser, copy the contents which you get back, and replace the keys you have with the unique, pseudo-random keys provided by the site. This makes it harder for attackers to automatically generate a"logged-in" cookie for your site.
Now we are getting into things. Whenever you install WordPress, you have to edit the file config-sample.php and rename it to config.php. You need to set up the database details there.
Implementing all of the above will probably take less than browse around this web-site an hour to complete, while making your WordPress website more immune to intrusions. Over 1 million WordPress sites were cracked last year, largely due to preventable safety gaps. Have yourself prepared and you're likely to be on the safe side.