In accordance with the invention, the structure of a patterned nanoscale or near nanoscale device ("nanostructure") is repaired and/or enhanced by liquifying the patterned device in the presence of appropriate guiding conditions for a period of time and then permitting the device to