added clone methods to output stream classes