Fixed generic type contraint to use Cloo buffers