as mentioned in https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/pull/60 review comment, clone functionality is removed and that needs to be rewritten with `JS::Stencil` APIs. I'll look into adding examples