

Are you talking about consciousness? As this is separate from the mind. It would disappear from being encased within the body without a mind just as it would without a heart being that the body without these elements is not capable of reaching consciousness because it’s not capable of sustained living.
Note: it has not been scientifically proven yet that the consciousness resides in an exact spot in the brain hence they speak of consciousness and mind as separate.
Note also that there have been people who lived their entire life missing about 80% of their brain (or more https://www.sciencealert.com/a-man-who-lives-without-90-of-his-brain-is-challenging-our-understanding-of-consciousness ) without even realizing it
One case where the brain was only a crust within the scull bone and still had an operating consciousness.




You could replicate material but what animates it isn’t assured simply by replication of some material
There’s also theory that consciousness is radio wave that could find or caught by hosts. So maybe you just created a host.
Another theory is that everything is conscious to exist in the dimension of space time and well it can get deeper as to say none of this exists at all. Or is a simulation. We simply decide that replication =reality of the meaning we give it.