@ekuber I’ve also been warning people about refs on structs and enums. Often times the memory overhead of allocating isn’t worth it if a ref is only used for that reason. We’ve been taking that approach in the new stuff I’ve been driving.
About clone: that underscores my apprehension in more perf-related work - understanding when we’ll be allocating. Of course, with clone I’d always expect it unless using Arc and the like.