Adding dealocators

@jmnybl - destructor is needed for the setarray C++ class (or whatever its name is anyway)