add type-converting copy constructor to quantiles sketch