Copies this and returns a new TextAttributes.
a TextAttributes to be copied
a copy of this, free with unref