JFYI, the "This book" link on https://github.com/Kindelia/HVM/blob/master/HOW.md goes to a research gate page which has the wrong book for download (something about category theory).
So, this dup primitive, is that explained in the book as well, or is this a new addition in your implementation?