PJSR - How to copy image keeping history?

bitli

PTeam Member
Feb 1, 2009
545
11
Switzerland
When copying an image (window) in a script,  we use direct operations (create window, etc...). But unlike a copy via drag and drop in the UI, the history is lost.  I have tried to make a copy using a process like PixelMath, but the generated image also does not have the original history.
Is there a way make the same operation as a copy of the UI from the script ?  If not, could there be a 'Copy' process (same category as Nop...).
Thanks -- bitli