Replica Program

The Replica Program was a planned series of experiments conducted by Vexen under Xemnas's orders, with the apparent help of Naminé. He attempted to make Replicas of Keyblade wielders Sora and Riku in the event that the original Sora proved to be useless to Xenas's plans for Kingdom Hearts.

The first replica created by the program was Xion. However, after Xion's defection and her death by Roxas, Xemnas discontinued the program. In the Secret Reports it mentions another inferior numberless replica that was taken to Castle Oblivion. The Secret Reports in Kingdom Hearts 358/2 Days also reveal the existence of other unused replicas.

Xion
Xion was created by Vexen out of Sora's memories. She held these memories which would stop Sora from being able to awaken from his slumber. Xion, being made out of Sora's memories, could wield a Keyblade, something Organization XIII wanted. This would make it so Organization XIII had two among their ranks that could wield the Keyblade and collect hearts to form Kingdom Hearts.

She was seen by some as only a puppet, while only Roxas and Axel called her a friend. Her appearance varied depending on who saw her. For example, Saïx saw her as only a puppet, Xigbar saw her as Ventus, and Roxas and Axel saw her as herself. She was destroyed by Roxas, and the program was stopped shortly after her defeat.

Riku Replica
The Riku Replica was created by Vexen, shortly after Xion. He created this replica after sampling the real Riku's memories. Vexen used this replica to fight both Sora and Riku. The Riku Replica was cursed by the fact that he was the fake one, and always fought to get rid of Riku, exactly what the Organization wanted. He met his demise by Riku, and was swallowed by the darkness after being defeated.

Notes and References
🇰🇲