Add a utility constructor for MMapBuffer