Artificial selection
Inbreeding is a particular kind of selective breeding, designed to produce a population which is genetically virtually identical.  Such populations are rarely viable outside the laboratory.  They lose fertility.  To control this, most breeds are outcrossed or backcrossed to wild-type individuals, or at least less inbred stock. The details differ from breed to breed.  The improvement when outcrossing is done is called hybrid vigour.