What command can reproduce this function in bash?
In Finder select File then press ⇧⌥ to make the command visible (⇧⌥⌘D).
In AppleScript it's available as
tell application "Finder" to duplicate selection with exact copy
UPDATE. I checked the birthtimes with stat.
