Laser welding for purposes other than joining