#2296 propagate length parameter to specialized Apply method and use it instead of cloning the Mean vector.