Duplicate
From MediaWiki extension testing
The duplicate command allows you to duplicate a complete instance of MediaWiki. When you have spend a lot of time getting a test setup exactly right, destructive testing destroys a carefully prepared test environment. By creating a duplicate prior to the test, you can save yourself from a lot of prepatory work. This will also enhance the repeatability of a test.
Syntax
duplicate MW_installation MW_installation_new