Movie with human replicas who have their memories wiped after being tortured/killed

We can’t think of any actors or title. This is what we have:

A detective is investigating a club where people kill, torture, and assault human replicas. When the replicas are killed, their bodies are repaired and their memories are supposed to be erased, but one female human replica remembers everything and wants help. The detective beings to protect her and develop feelings. Set in a big city. Made after 2005. He uncovers an underground criminal network that he is fighting.

NOT:
Strange Days
Surrogates

3 Likes

Maybe?:
“Zone 414” (2021)

Quote from the below Wikipedia page of the movie:
“He tells David that when Melissa caught him torturing and killing androids, he killed her.”

Made after 2005, set in a big city, detective, female android.

5 Likes

Could it be the tv series “Westworld”