ENH: Added destroy method to free memory