There may be some inconsistencies in TNG canon.
Riker was duplicated due to a transporter accident (Second Chances). One must assume that faithful reproduction by the transporter is essential to its function, so the transporter would seem to have the capacity for making indistinguishable copies - not simply deconstructing the subject at point A and reconstituting at point B.
Scotty was held in a sort of stasis for 75 years in a transporter buffer, suggesting that a pattern can be kept for a significant amount of time.
It seems to come up fairly often that replicated items (especially food and drink) are only approximations of the "original article". It would suggest that replicators are not intended to make precise copies of things, but rather to replace inventories of "genuine" articles and produce commodity items on an economic basis. It also comes up often that replicators and transporters are technological kin (as are holodecks, apparently).
If you put all this together, it seems that perhaps a high-fidelity replicator would be possible - such that a copy could be indistinguishable from an original which has traveled through a transporter. Such a device would essentially be a transporter which either does not deconstruct the original, or constructs one or more copies simultaneously with the original. One might imagine that compared to ordinary replicators, such a device might be more costly to build and operate, but certainly not impossible.
For collector Kevas Fajo (The Most Toys), the existence of such a device could be a problem - unless he acquired his artifacts before anybody thought of or had the opportunity to make "perfect" replicas of them.
On the other hand, one could step out-of-universe and consider that in pursuing some of their story ideas, the show writers had to ignore the inconsistencies they were creating.