Implement new_all_same method

To create SideOffsets2d with all same value, I implemeted new_all_same method.