Duplicating the raw using Ctrl+D, if that what is meant by duplicating the pic, discarding history and opening it produces a raw with this history:
and it looks like this (from Ferns in the backyard - a study in contrast):
The jpg I save from XnView MP after using it to open the raw looks like this:
It’s the second jpg that I am thinking is the embed.
If I have to use a lua script to produce that embed with dt, I would have a lot of work to do to learn how to do that.