Added circular buffer clear method