WIP: clippy warnings: removed some unnecessary clones and function calls
Checked some clippy warnings and followed the suggestions
Note: there are still some warnings which i considered false positives or only fixable by design (for example BKCommand enum is not good layoutable in memory)