Remove an unnecessary string copy in the Text constructor.
Merge pull request #2838 from Ms2ger/text-clone

Remove an unnecessary string copy in the Text constructor.