I'll hazard a probably uninteresting answer. Here's an example:
Let's run through how this goes in general. Suppose $a,b$ are positive integers such that they share prime-power divisors $p_1^{r_1},\dots, p_m^{r_m}$ (we assume each prime power is as large as is possible). Furthermore, suppose
$$ a = p_1^{r_1+s_1}\cdots p_m^{r_m+s_m}a' \qquad \& \qquad
b = p_1^{r_1+t_1}\cdots p_m^{r_m+t_m}b'
$$
where $a',b'$ are not divided by any of the primes $p_1,\dots , p_m$ and $s_1,\dots, s_m,t_1, \dots, t_m \geq 0$. Notice that
$$ gcd(a,b) = p_1^{r_1}\cdots p_m^{r_m} $$
Also,
$$ a = p_1^{r_1}\cdots p_m^{r_m}p_1^{s_1}\cdots p_m^{s_m}a' \qquad \& \qquad
b = p_1^{r_1}\cdots p_m^{r_m}p_1^{t_1}\cdots p_m^{t_m}b'
$$
The least common multiple of $a,b$ needs to carry all the prime powers in the factorizations of $a,b$. However, the lcm should not carry more prime power factors than are needed. In particular, we see $p_1^{r_1}\cdots p_m^{r_m}$ only needs to appear once. In my current notation we find:
\begin{align}
lcm(a,b) &= p_1^{r_1}\cdots p_m^{r_m}p_1^{s_1}\cdots p_m^{s_m}a'p_1^{t_1}\cdots p_m^{t_m}b' \\
&= \left(p_1^{r_1}\cdots p_m^{r_m}p_1^{s_1}\cdots p_m^{s_m}a' \right) \left(p_1^{t_1}\cdots p_m^{t_m}b' \right) \\
&= a \left( p_1^{t_1}\cdots p_m^{t_m}b' \right) \\
&= \left(p_1^{s_1}\cdots p_m^{s_m}a'\right)\left(p_1^{r_1}\cdots p_m^{r_m}p_1^{t_1}\cdots p_m^{t_m}b'\right) \\
&= \left(p_1^{s_1}\cdots p_m^{s_m}a'\right)b.
\end{align}
it is clear from the above calculation that $p_1^{r_1}\cdots p_m^{r_m}p_1^{s_1}\cdots p_m^{s_m}a'p_1^{t_1}\cdots p_m^{t_m}b'$ is a multiple of both $a$ and $b$. Minimality requires further analysis which I omit here. In any event, it is clear that:
\begin{align}
ab &= \left( p_1^{r_1}\cdots p_m^{r_m}p_1^{s_1}\cdots p_m^{s_m}a' \right)\left( p_1^{r_1}\cdots p_m^{r_m}p_1^{t_1}\cdots p_m^{t_m}b' \right) \\
&= \left( p_1^{r_1}\cdots p_m^{r_m}\right)\left(p_1^{r_1}\cdots p_m^{r_m}p_1^{s_1}\cdots p_m^{s_m}a'p_1^{t_1}\cdots p_m^{t_m}b' \right) \\
&= gcd(a,b)lcm(a,b).
\end{align}
Geometrically: if we take an $a \times b$ rectangle and form another rectangle of the same area whose height is $gcd(a,b)$ then the length of the squished rectangle is exactly the $lcm(a,b)$.