Magnetism in frustrated nanostructures