Creates an array of ones.