A clone of buffer