Red Dwarf: Season 6, Episode 5
Rimmer finds himself on a strange planet where the only other inhabitants are the clones he's made of himself.