Make the specialized member function inline to avoid multiple definitions error
Add clear() function