You can clone with
HTTPS or Subversion.
I wonder if there's any specific reason why you changed the initializer from API change for PaginatableArray.new to keep the whole Array if total_count is given. I personally can't think of any.
Thanks but we don't remember why. Sorry!