Pokémon in this Egg Group [Ditto] have the unique ability to breed with any member of every other Egg Group, except for the Undiscovered and Ditto Egg Groups.
source