A rectangle is inscribed in a circle such that its vertices lie on the circumference. The length of the diagonal of the rectangle is twice the length of its shortest side. If the area of the rectangle is square units, what is the diameter of the circle?