Vegapunk once fed a zoan devil fruit to a sword (elepant) and a bazooka (dachschund). Caesar explained it: the slime was once the gas that destroyed the island. Then he fed it the zoan devil fruit (salamander). Probably using the same tech. The slime form is probably its half and half form.