Returns a new BitmapData with a copy of this BitmapData's texture.
Source
BitmapData clone([num pixelRatio]) { if (pixelRatio == null) pixelRatio = renderTextureQuad.pixelRatio; var bitmapData = new BitmapData(width, height, Color.Transparent, pixelRatio); bitmapData.drawPixels(this, this.rectangle, new Point<num>(0, 0)); return bitmapData; }