Added list.clear. Fixes issue #53.