adding clone functionality to the lsb and mysql resources