TextCel * CloneTextCel (TextCel *templateTextCel, Boolean clonePixels)
If the template cel has a format buffer attached to it, and that buffer was dynamically allocated by the call to SetTextCelFormatBuffer(), a new buffer of the same size is allocated and attached to the new cel. If the template cel has a format buffer that you provided explicitly (a static buffer), the new cel will use the same static buffer.
This function is useful when you want to create a number of identical TextCels. You can call CreateTextCel(), followed by whatever SetTextCel...() functions you need to create a template cel with a given size and attributes, then call CloneTextCel() as often as necessary to create a number of cels with identical size and attributes.
Use DeleteTextCel() to dispose of the TextCel when you are finished with it.
CreateTextCel, DeleteTextCel