Even rocks and dead sticks have it. Some of us know how it works. I don’t claim to know, but I know more about it now than I did, let us say, some years ago. So it is like learning most any other complex thing, it is done over time. It can’t be replicated because it cannot be contained, and it is too expansive to be emulated or cloned with any sufficiency to have any substantial meaning.
What I mean by consciousness is more like how some chatbots (fake it) and animals demonstrate it (like us and dogs etc). Person's in a brain-lock situation even have activity that can be sensed by machinery and produce cursor movements on a screen where they can answer questions so they can demonstrate consciousness. That's more what I mean. Maybe I need to call it...sentience?
So far, rocks and sticks can't do that, but if this text is also conscious as its some magnetic charges on some discs somewhere, then I may be offending it.