ensure TDynArray.SetCount(0) release memory (e.g. for TDynArray.Clear)