Function ObjectList.clear

remove and destroy all items

void clear(
  bool destroyObj = true
);