Added "clean" feature to the metadata form