This gets talked about and shown a lot in the EU novels. Always kinda creeped me out, "teehee my toaster's personality was annoying, so I had its personality wiped."
It was rare because they actually did consider him sentient. There's of course the famous episode Measure of a Man, but the one I remember is when Picard indirectly threatened Data in Clues, when he found out Data was keeping a dangerous secret from the rest of the crew.
PICARD: "Do you know what a court-martial would mean? Your career in Starfleet would be finished. Do you also realize that you would most likely be stripped down to the wires to find out what the hell went wrong?"
This gets talked about and shown a lot in the EU novels. Always kinda creeped me out, "teehee my toaster's personality was annoying, so I had its personality wiped."
This is fairly directly inferred in Interstellar, as well, with TARS and whatever the other robot was called.
Like, he directly threatens TARS with that at least once, so, yeah, it's definitely a trope...
Can sort of argue that Star Trek did this with Data, on occasion, too...
It was rare because they actually did consider him sentient. There's of course the famous episode Measure of a Man, but the one I remember is when Picard indirectly threatened Data in Clues, when he found out Data was keeping a dangerous secret from the rest of the crew.