Remove heap allocations from Scoped<T> reference counting
#780
+99
−29
Scoped<T> reference counting
#780