// this.spriteFrame is your sprite you want to clone
this.spriteComponent.sprite = this.spriteFrame;
// Create a new node
const newNode = new Node('New Node');
// Add a sprite component
newNode.addComponent(Sprite);
// Get the newly created sprite
const newSpriteComponent = newNode.getComponent(Sprite); component
// Here you use the same spriteframe
newSpriteComponent.sprite = this.spriteFrame;
// Add the new node as a child to this.node
this.node.addChild(newNode);
I noticed that the engine has removed the deprecated spriteframe.clone declaration, and the clone interface has not been removed on the latest version.