Not sure what you mean about how. I think cloning is sufficiently well-established as a trope that we don't need an explanation on what cloning is. They scraped up some Superman DNA and started a project. What more do we need?
Superboy was cloned because Superman was killed by Doomsday and Cadmus project somehow got a hold of his DNA.