Rick created a clone with the same memories for Beth to fulfill her dream but also realized he wasn’t comfortable with losing his daughter and having a clone in her place.
For those who may not remember, Space Beth was introduced in the Season 4 episode “Star Mort Rickturn Of The Jerri.”
Her existence is the result of Beth wanting a life with more fulfillment but not necessarily wanting to abandon her family in the process.
He deliberately shuffled the bodies and then wiped his own memory to not know which version of Beth is the original one.