Move implementation of Clone for Texture into the right file.