Pruning can be accomplished through several methods, including chemical etching, focused ion beam (FIB) techniques, and laser ablation. Each of these methods offers different levels of precision and control, making them suitable for various applications. For example, chemical etching can be used to remove unwanted material from a nanostructure, while FIB techniques can be employed for highly precise modifications.