public static short[] clone(short[] array) {
        if (array == null) {
            return null;
        }
        return array.clone();
    }
<p>Clones an array returning a typecast result and handling
{@code null}.</p>

<p>This method returns {@code null} for a {@code null} input array.</p>

@param array  the array to clone, may be {@code null}
@return the cloned array, {@code null} if {@code null} input
android/android_framework/base/src/main/java/lang3/ArrayUtils.java