deal with windows
implement Clone for slices