Implement new_all_same method to create SideOffsets2d with all same value