Added clone() method for RenderTarget class