added a method to clone another pagination object
documentation and deep copy the array when copying the pagination object