Implement aggrtable clear method

First try, not sure I did it properly though. Please let me know if I did anything wrong!