In Pokémon lore, Mewtwo was genetically cloned from Mew.
Mewtwo is described as a genetically modified clone created from a sample of Mew's DNA. The connection explains why the two Pokémon share a similar relationship to the franchise's mythology, even though their designs, powers, and personalities differ greatly.
Mew is an ancient, elusive Pokémon associated with the genetic origins of many species. Mewtwo, by contrast, was engineered through scientific experimentation and is known as the Genetic Pokémon. In the original games, players learn about its creation through research documents in the Pokémon Mansion on Cinnabar Island.
The details vary across Pokémon media. The games describe a scientist's work, while the anime film emphasizes Mewtwo's creation by researchers connected with Team Rocket. Those versions share the core fact that Mew's genetic material is the basis for Mewtwo. Ditto is sometimes proposed by fans as a related clone because of its transformation ability, but it is not the canonical source.