Movie about a society where humans create clone versions of themselves so they can serve as personal butlers for the original human, if...?

the clone becomes rebellious, the owner can put the clone in a room where a computer program makes the clone's brain believe he has been there for years, when in reality it's been only days, until they become obedient.
2 answers 2