Added support for wildcards in Clear and ClearAll