The half baked solution
master
Something like this:
The full solution (see here)
Explicit is better than implicit!!!
The database to clone much be selected in addition to the branch, unless you are specifying an environment to clone. Or else it should otherwise be made explicit which database gets cloned.
Related: