Changed CopySpec.getDuplicatesStrategy() so that it returns the effective strategy, rather than null, when no strategy has been defined, for consistency with the other inheritable properties. Also changed FileCopyDetails.duplicatesStrategy so that it is not nullable.