Add unity function to clear domain specific fields from thread object, as they may hold objects from an unloaded domain.