Delphi
procedure ClearAutomatic;
C++
void __fastcall ClearAutomatic();
Removes and destroys only automatic fields.