Clear / Reset / Initialize UDTs in Script

You can make that a lot easier using TypeUtilities, see this post: