>>47955290>implications of official material are headcanon>>47959366>Ditto can't spread after originating in a labMew was programmed into Red/Green with relative secrecy two weeks before development finished. It is therefore not unexpected that connections between Ditto and Mew are sparse before the release of Yellow. However, from R/G forward, Ditto and Mew are the only Pokémon to learn Transform. Both have similar pink color and identical weight.
In Yellow, Ditto are found at the Pokémon Mansion, where journal entries detail how Mewtwo was created through genetic experiments with Mew. Ditto's Pokédex entry specifically mentions altering its own genetic code as its means of transformation in Red/Blue. Mewtwo's Pokédex entry from Red/Blue indicates that it took years for those genetic experiments to produce Mewtwo–meaning years of failed attempts with a result that is not explicitly stated, but strongly implied.
In Gold/Silver, shiny Pokémon are introduced. Gamefreak chooses to maintain their similarity in color by giving both blue shiny palettes. In Silver, Mew's Pokédex entry makes reference to its own genetic makeup for the first time, further highlighting the connection between the two.
This leaves us with:
>same genetic theme>same themed location>same themed signature move>same pink/blue colors>same weightGame developers, as much as they try to make you believe otherwise, are not monkeys with typewriters. These connections weren't a random accident. They were deliberately placed. Ditto are the byproduct of the experiments conducted at Pokémon Mansion, and they've subsequently survived in the wild.