Made time fields immutable

Through the usage of clone().